@charset "utf-8"; //设置字符编码。
$widhtpx:1280px; //版心   0.69
$widhtpct:70%; //1280/1840 = 0.7 响应式 
@import './sass_mixin.scss';
@import "./header.scss";

main {
    width: 1200px;
    height: 681px;
    padding: 20px 30px;
    margin: 50px auto;

    .zoomBox {
        position: relative;

        .smlpic {
            float: left;
            margin-right: 50px;

            li {
                width: 84px;
                height: 84px;
                border: 2px solid transparent;

                &:hover {
                    border: 2px solid #000;
                }

                img {
                    width: 80px;
                    height: 80px;
                    margin: 2px;
                }
            }
        }

        .midpic {
            float: left;
            width: 500px;
            height: 500px;
            position: relative;

            >img {
                width: 500px;
                height: 500px;
            }

            .zoom {
                width: 500px;
                height: 500px;
                box-sizing: border-box;
                border-width: 0px;
                border-color: rgba($color: #000000, $alpha: .5);
                border-style: solid;
                position: absolute;
                left: 0;
                top: 0;
                cursor: crosshair;
            }
        }

        .bigpic {
            position: absolute;
            width: 500px;
            height: 500px;
            overflow: hidden;
            left: 660px;
            z-index: 1;
            display: none;

            >img {
                position: absolute;
                width: 1000px;
                height: 1000px;
                z-index: -1;
                left: 0;
                top: 0;
            }
        }

        .info {
            float: right;
            width: 540px;
            height: 500px;

            // background-color: #ccc;
            h5 {
                font-size: 16px;
                color: #1b1b1b;
                line-height: 30px;
            }

            .size {
                color: red;
                margin-top: 10px;
                font-size: 14px;
                text-decoration: underline;

            }

            .price {
                margin-top: 20px;
                font-size: 26px;
                font-weight: 900;

                >div {
                    color: #7d7d7d;
                    line-height: 30px;
                    float: right;
                    font-size: 12px;

                    >p {
                        float: right;
                        margin-left: 20px;

                        >span {
                            font-size: 14px;
                            color: #EBBE00;
                        }
                    }
                }
            }

            .activity {
                margin-top: 20px;
                color: red;

                >span {
                    display: inline-block;
                    margin-right: 10px;
                    width: 60px;
                    height: 15px;
                    color: #1b1b1b;
                    font-weight: 600;
                }
            }

            .colors {
                margin-top: 20px;

                p {
                    color: #1b1b1b;
                    font-weight: 600;
                    margin-bottom: 10px;
                }

                img {
                    width: 38px;
                    height: 38px;
                    margin-right: 12px;
                    padding: 2px;
                    border: transparent 2px solid;
                }
                .active{
                    border: #000 2px solid;
                }
            }

            .sizeAll {
                margin-top: 20px;
                height: 80px;

                p {
                    color: #1b1b1b;
                    font-weight: 600;
                    margin-bottom: 10px;
                }

                .smlxl {
                    >p {
                        float: left;
                        border: 2px solid transparent;

                        span {
                            display: inline-block;
                            padding: 0 10px;
                            line-height: 34px;
                            border: 1px solid #dadada;
                            cursor: pointer;
                            margin: 5px;

                        }
                        .activespan{
                            color: #FFF;
                            background: #000;
                        }
                    }
                    .sizeActive{
                        border: 2px solid #1b1b1b;
                       
                            
                        
                    }

                }
            }

            .sizeTable {
                p {
                    width: 100%;
                    height: 30px;
                    line-height: 24px;
                    position: relative;
                    line-height: 30px;
                    vertical-align: middle;
                    @include flex-row();
                    justify-content: flex-start;

                    img {
                        margin-right: 5px;
                    }
                }

                >img {
                    position: fixed;
                    top: 20%;
                    left: 30%;
                }
            }

            .send {
                height: 20px;
                @include flex-row();
                justify-content: flex-start;
                color: #1b1b1b;
                font-weight: 600;
                margin-top: 15px;

                p {
                    display: inline-block;
                    cursor: pointer;
                    width: 14px;
                    height: 14px;
                    border: 2px solid #000;
                    border-radius: 50%;
                    margin: 0 10px;

                    a {
                        display: inline-block;
                        width: 10px;
                        height: 10px;
                        background-color: #000;
                        border-radius: 50%;
                        margin: 2px;
                    }
                }
            }

            .address {
                margin-top: 15px;
                color: #1b1b1b;
                font-weight: 600;

                span {
                    margin: 0 5px;
                }
            }

            .num {
                height: 40px;
                margin-top: 15px;
                color: #1b1b1b;
                font-weight: 600;
                user-select: none;
                span {
                    font-size: 20px;
                    margin: 0 5px;
                }

                input {
                    width: 73px;
                    height: 40px;
                    text-align: center;
                    font-size: 16px;
                    background-color: #fff;
                    border: 1px solid #ababab;
                    margin: 0 10px;
                    vertical-align: middle;
                }
            }

            .add {
                margin-top: 15px;
                @include flex-row();
                justify-content: space-between;
                p {
                    display: inline-block;
                    width: 258px;
                    height: 50px;
                    text-align: center;
                    line-height: 50px;
                    font-size: 14px;
                    font-weight: 600;
                    &:first-child {
                        border: 1px solid red;
                        color: red;
                    }
                    &:last-child {
                        border: 1px solid red;
                        color: #fff;
                        background: red;
                        
                    }
                }
            }
        }
    }
}

@import "./footer.scss";